home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / os2 / cenvi2.arj / WAIT.CMD < prev    next >
OS/2 REXX Batch file  |  1993-07-17  |  1KB  |  20 lines

  1. @echo OFF
  2. REM **************************************************************************
  3. REM *** Wait.bat - Wait for a specified number of seconds before returing. ***
  4. REM ***            No check is done on the input being valid.              ***
  5. REM ***            This example would wait ten seconds: " Wait 10"         ***
  6. REM ***            This example uses the OS/2 system call to suspend       ***
  7. REM ***            processing, which is preferable to polling the current  ***
  8. REM ***            time.  The ordinal for DosSleep (see DosCalls.lib) is   ***
  9. REM ***            229.                                                    ***
  10. REM **************************************************************************
  11.  
  12. CEnvi DynamicLink("doscalls",229,BIT32,CDECL,%1 * 1000)
  13.  
  14. REM ********************************************************************
  15. REM *** The following method would have been an easier way to wait   ***
  16. REM *** the same amount of time, but it wouldn't have been such fun. ***
  17. REM ********************************************************************
  18.  
  19. REM CEnvi suspend(%1 * 1000)
  20.